import request from '../utils/request';

/**
 * 获取医生列表
 * @returns 
 */
export function getDoctorList() {
  return request.get('/doctor/list');
}
export function getDoctorsWithSchedules() {
  return request.get('/doctor/listWithSchedules');
}

/**
 * 更新医生信息
 * @param doctor 
 * @returns 
 */
export function updateDoctor(doctor: any) {
  return request.put('/doctor/update', doctor);
}